package com.pt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import java.time.LocalDateTime;

@Data
@TableName("private_message")
public class PrivateMessage {
    @TableId(type = IdType.AUTO)
    private Long id;
    
    private Long senderId;
    
    private Long receiverId;
    
    private String subject;
    
    private String content;
    
    private Boolean isRead;
    
    private Boolean senderDeleted;
    
    private Boolean receiverDeleted;
    
    private LocalDateTime sentTime;
    
    private LocalDateTime readTime;
} 